package com.imoresoft.magic.app.weather;

import java.util.Timer;

public class WeatherSyncApp {

	public static void main(String[] args) {
		// 3小时执行一次
		long period = 1000 * 60 * 60 * 3;
		Timer timer = new Timer();
		timer.scheduleAtFixedRate(new WeatherSync(), 0L, period);
	}

}
